package com.example.demoweb.framework.mybatis.common;

import java.util.List;

public abstract interface IBaseService<T>
{
  public abstract T getById(String paramString)
    throws ServiceException;

  public abstract T get(T paramT)
    throws ServiceException;

  public abstract List<T> findAll(T paramT)
    throws ServiceException;

  public abstract List<T> list(T paramT)
    throws ServiceException;

  public abstract void insert(T paramT)
    throws ServiceException;

  public abstract void update(T paramT)
    throws ServiceException;

  public abstract void delete(T paramT)
    throws ServiceException;
}